<?php

// echo 'this file will ...';


// var_dump($_POST);


// echo "<pre>";


// print_r($_POST);


// echo "</pre>";


// echo $_GET['stuname'];


// var_dump($_REQUEST);





// // 写入数据


$handle = fopen("file.csv", "a");


$content = $_POST['stuname'] . ',' . $_POST['stunumber'] . ',' . $_POST['stuurl'] . "\n";

fwrite($handle, $content);

fclose($handle);



// 显示数据


include 'view.php';

